FROM jdk:1.8
MAINTAINER shishun.wang "1058300241@qq.com"

#RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

#RUN /bin/echo -e “47.97.103.230 master.mysql.com\n47.92.53.82 master.redis.com” >> /etc/hosts
#RUN sh -c "echo 47.97.103.230 master.mysql.com >> /etc/hosts"
ADD ./ /

#ENTRYPOINT /manager/bin/manager start && /bin/sh && /bin/tail -f /manager/wrapper.log

ENTRYPOINT sh -c "echo 47.97.103.230 master.mysql.com >> /etc/hosts" && /manager/bin/manager start && /bin/tail -f /manager/wrapper.log